package cn.minhx.lab.design_patterns.adapter.f2.interfaces;

public class JdOrderAdapter implements OrderAdapterService {

    private final JdOrderService jdOrderService = new JdOrderService();

    public boolean isFirst(String uId) {
        return jdOrderService.isFirstOrder(uId);
    }

    public static class JdOrderService {
        public boolean isFirstOrder(String uId) {
            return true;
        }

    }

}